package com.share51.novel.dao;

import com.share51.novel.entity.Crawl;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author gb
 * @since 2020-03-23
 */
@Mapper
public interface CrawlMapper extends BaseMapper<Crawl> {

    /**
     * 获取所有的 url 和 site 值
     * @return
     */
    List<Crawl> getAllCrawlUrlAndSite();
}
